<%@ page import="com.Web.Person.User" %><%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2024/8/10
  Time: 11:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>updateUser</title>
</head>
<body>
    <%
        User user = (User) request.getAttribute("user");
    %>
    <form action="/user?method=update" method="post">
        <table>
            <input type="hidden" name="id" value="<%=user.getId()%>">
            <tr>
                <td>用户名：</td>
                <td><input type="text" name="name" value="<%=user.getName()%>"></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input type="text" name="password" value="<%=user.getPassword()%>"></td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="添加"/>
                </td>
                <td>
                    <input type="reset" value="重置"/>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
